@charset "utf-8";
.select {
  background: #ff8c31;
  color: rgba(255, 255, 255, 0.8);
}
::selection {
  background: #ff8c31;
  color: rgba(255, 255, 255, 0.8);
}
::-moz-selection {
  background: #ff8c31;
  color: rgba(255, 255, 255, 0.8);
}
::-webkit-selection {
  background: #ff8c31;
  color: rgba(255, 255, 255, 0.8);
}
html {
  height: 100%;
}
body {
  background-color: #f3f4f5;
  background-image: url('../../image/bsbg.png');
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body > main {
  flex: 1;
}
a,
a:visited,
a:hover,
a:focus {
  text-decoration: none !important;
}
.btn {
  cursor: pointer;
}
.btn:focus {
  box-shadow: 0 0 0 3px rgba(255, 140, 49, 0.5);
}
.btn-danger {
  background: linear-gradient(to right, rgba(255, 140, 49, 0.7), #ff8c31);
  background-color: white;
  border: 0;
}
.hiddenNav {
  background-color: #ff8c31;
  padding: 0 1rem;
  background-clip: content-box;
}
.hiddenNav > nav {
  display: flex;
  justify-content: space-between;
}
body > nav {
  background: white;
  margin-bottom: 15px;
}
body > nav .navbar-brand {
  display: block;
  height: 50px;
  width: 50px;
  background-image: url("../../image/bsLogo.png");
  background-position: 50%;
  background-size: 80%;
  background-repeat: no-repeat;
}
body > nav div ul li {
  position: relative;
  margin-left: 0.5rem;
}
body > nav div ul li.active a {
  color: #ff8c31 !important;
}
body > nav div ul li.active a:after {
  content: '';
  width: 100%;
  height: 4px;
  background-color: #ff8c31;
  position: absolute;
  top: 100%;
  left: 0;
}
body > nav div ul li a {
  font-weight: 600;
  text-align: right;
}
body > nav div ul li a:hover {
  color: #ff8c31 !important;
}
body > nav div ul li a:hover:after {
  content: '';
  width: 100%;
  height: 4px;
  background-color: #ff8c31;
  position: absolute;
  top: 100%;
  left: 0;
}
body > nav .searchInput {
  position: absolute;
  background-color: white;
  display: flex;
  justify-content: space-between;
  z-index: 9999;
  right: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 1rem;
}
.cardShad {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cardShad:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
main > .card {
  margin: 1rem 0;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
main > .card.cardShadow {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
main > .card.cardShadow:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
footer {
  padding: 1rem;
}
footer .links {
  width: 100%;
}
footer .links ul {
  margin: 1rem 0;
  padding-left: 0;
  display: flex;
  justify-content: center;
}
footer .links ul li {
  width: 50px;
  height: 50px;
  font-size: 24px;
  padding: 0;
  border-radius: 50%;
  margin: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .links ul li:nth-child(1) {
  background-color: #42bd41;
}
footer .links ul li:nth-child(1):hover {
  background-color: rgba(66, 189, 65, 0.4);
}
footer .links ul li:nth-child(1) a:hover {
  color: white !important;
}
footer .links ul li:nth-child(2) {
  background-color: #e25550;
}
footer .links ul li:nth-child(2):hover {
  background-color: rgba(226, 85, 80, 0.4);
}
footer .links ul li:nth-child(2) a:hover {
  color: white !important;
}
footer .links ul li:nth-child(3) {
  background-color: #24292e;
}
footer .links ul li:nth-child(3):hover {
  background-color: rgba(36, 41, 46, 0.4);
}
footer .links ul li:nth-child(3) a:hover {
  color: white !important;
}
footer .links ul li:nth-child(4) {
  background-color: #2ba3ef;
}
footer .links ul li:nth-child(4):hover {
  background-color: rgba(43, 163, 239, 0.4);
}
footer .links ul li:nth-child(4) a:hover {
  color: white !important;
}
footer li {
  display: inline-block;
  padding: 0 3rem;
}
footer li a {
  color: white;
  text-decoration: none;
}
footer li a:hover {
  color: #ff8c31;
  text-decoration: none;
}
footer .info-list {
  width: 100%;
  justify-content: center;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 1rem;
}
footer .info-list li:not(:last-child) {
  border-right: 1px solid gray;
}
footer p {
  color: white;
  margin: 0 auto;
  padding: 1rem;
}
@media (max-width: 62em) {
  footer .info-list {
    flex-direction: column;
  }
  footer .info-list li {
    width: 80%;
    margin: 0 auto;
    padding: 1.5rem 0;
  }
  footer .info-list li:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid gray;
  }
}
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  .searchInput {
    left: 0!important;
  }
}
.bookCard {
  border-radius: 5px;
  padding: 0 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bookCard .bookRow {
  display: flex;
}
.bookCard .bookRow > .card-img-top {
  position: relative;
  flex: 0;
}
.bookCard .bookRow > .card-img-top > .bookImg {
  position: relative;
  top: -2rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  transition: all 0.3s;
}
.bookCard .bookRow .card-body {
  padding: 1.5rem 0 1.5rem 1.5rem;
  position: relative;
}
.bookCard .bookRow .card-body > p {
  margin-bottom: 0;
  line-height: 2rem;
  letter-spacing: 2px;
}
.bookCard .bookRow .card-body > p.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bookCard .bookRow .card-body > p.subtitle {
  color: #858585;
}
.bookCard .bookRow .card-body > p.discribe {
  margin-top: 0.5rem;
  position: relative;
  height: 9.5em;
  overflow: hidden;
  font-size: 0.8rem;
  text-indent: 2em;
}
.bookCard .bookRow .card-body > p.discribe:after {
  content: "...";
  font-weight: bold;
  position: absolute;
  bottom: 0;
  right: -4px;
  padding: 0 1rem 1px 45px;
  background: url('../../image/ellipsis_bg.png') repeat-y;
  line-height: 1.5rem;
}
.bookCard .bookRow .card-footer {
  border: 0;
  border-top: 1px solid #f2f2f2 !important;
}
.bookCard:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.bookCard:hover .bookRow .bookImg {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  top: -2.1rem;
}
@media (max-width: 991px) {
  .bookCard {
    padding: 0.25rem;
  }
  .bookCard .bookRow {
    justify-content: center;
    flex-direction: column;
  }
  .bookCard .bookRow > .card-img-top {
    position: relative;
    flex: 0;
    padding: 0.25rem;
  }
  .bookCard .bookRow > .card-img-top > .bookImg {
    position: relative;
    max-width: 98%;
    height: auto;
    top: 0.5rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .bookCard .bookRow .card-body {
    padding: 1.5rem;
  }
  .bookCard .bookRow .card-body > p.discribe {
    height: 4.1em;
  }
}
@media (max-width: 1000px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 512px) {
  html {
    font-size: 12px;
  }
}
main > p.cart-title span:nth-child(1) {
  padding-right: 1em;
  border-right: 1px solid rgba(255, 140, 49, 0.5);
}
main > p.cart-title span:nth-child(2) {
  padding-left: 1.5em;
}
main #cartItemsList {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
main #cartItemsList .card {
  width: 99%;
  margin: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
main #cartItemsList .card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
main #cartItemsList .card:hover {
  width: 100%;
}
main #cartItemsList .card .card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
main #cartItemsList .card .card-body > * {
  flex: 1;
}
main #cartItemsList .card .card-body label {
  margin: 0 1rem 0 0;
  max-width: 1rem;
}
main #cartItemsList .card .card-body label > input {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 0;
}
main #cartItemsList .card .card-body label > input:after {
  display: block;
  content: "";
  width: 1rem;
  height: 1rem;
  background: #fff;
  border: 1px solid black;
}
main #cartItemsList .card .card-body label > input:checked:after {
  background: #ff8c31;
  border: 1px solid #ff8c31;
  padding: 1px;
  background-clip: content-box;
}
main #cartItemsList .card .card-body .bookImg {
  height: 100%;
  max-width: 100px;
}
main #cartItemsList .card .card-body .bookImg > img {
  height: auto;
  width: 100%;
}
main #cartItemsList .card .card-body .bookDescribe {
  margin: 0 1%;
  max-width: 40%;
}
main #cartItemsList .card .card-body .bookDescribe > p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
main #cartItemsList .card .card-body .bookDescribe > a {
  font-weight: bold;
  line-height: 1.5rem;
  font-size: 1.25rem;
  display: block;
}
main #cartItemsList .card .card-body .countControl {
  max-width: 8rem;
  text-align: center;
}
main #cartItemsList .card .card-body .countControl > * {
  padding: 0;
}
main #cartItemsList .card .card-body .bookPrice {
  max-width: 10rem;
  text-align: center;
  color: #ff8c31;
  font-weight: bold;
}
main #cartItemsList .card .card-body .deleteBtn {
  max-width: 1rem;
  cursor: pointer;
}
main #cartItemsList .actionBottom {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding-left: 1rem;
  width: 100%;
  margin: 1rem 0;
}
main #cartItemsList .actionBottom.fixing {
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100vw;
  margin: 0;
}
main #cartItemsList .actionBottom .checkAllWrap {
  display: flex;
  align-items: flex-end;
}
main #cartItemsList .actionBottom .checkAllWrap > span {
  margin-left: 4px;
  font-size: 1rem;
}
main #cartItemsList .actionBottom .checkAllWrap .checkAll {
  max-width: 1rem;
  line-height: 100%;
  margin-bottom: 0;
}
main #cartItemsList .actionBottom .checkAllWrap .checkAll > input {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
main #cartItemsList .actionBottom .checkAllWrap .checkAll > input:after {
  display: block;
  content: "";
  width: 1rem;
  height: 1rem;
  background: #fff;
  border: 1px solid black;
}
main #cartItemsList .actionBottom .checkAllWrap .checkAll > input:checked:after {
  background: #ff8c31;
  border: 1px solid #ff8c31;
  padding: 1px;
  background-clip: content-box;
}
main #cartItemsList .actionBottom .sub > span {
  padding: 0 0.5rem;
}
.inputStyle {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border-color: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.15);
  transition: border 0.3s;
}
.inputStyle:focus {
  border-bottom-color: #ff8c31;
}
#mask {
  position: absolute;
  top: 0px;
  filter: alpha(opacity=60);
  background-color: black;
  z-index: 1002;
  left: 0px;
  opacity: 0.5;
  -moz-opacity: 0.5;
  display: none;
}
#payWrap {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #34393c;
  min-height: 100%;
  max-height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 99999999999;
}
#payWrap > .shippingAddress {
  flex: 1;
  max-height: 100%;
  overflow-y: scroll;
  z-index: 9;
}
#payWrap > .shippingAddress > .closeBtn {
  width: 2rem;
  background-color: #34393c;
  position: absolute;
  left: -2rem;
  top: 10rem;
  padding: 0.75rem;
  border-radius: 0.5rem 0 0 0.5rem;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
#payWrap > .shippingAddress::-webkit-scrollbar {
  display: none;
}
#payWrap > .shippingAddress label {
  font-weight: bold;
  letter-spacing: 2px;
}
#payWrap > .shippingAddress .shippingCard {
  box-shadow: 0 1px 3px rgba(224, 109, 16, 0.12), 0 1px 2px rgba(224, 109, 16, 0.24);
  border-radius: 0.5rem !important;
  transition: all 0.3s;
  margin-bottom: 1rem;
}
#payWrap > .shippingAddress .shippingCard .card-header {
  border-radius: 0.5rem 0.5rem 0 0;
}
#payWrap > .shippingAddress .shippingCard .card-header a {
  font-weight: bolder;
}
#payWrap > .shippingAddress .shippingCard .card-header .form-inline-control {
  outline: none;
  border-width: 1px;
  appearance: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border-color: transparent !important;
  border-bottom-color: rgba(0, 0, 0, 0.15) !important;
  transition: border 0.3s !important;
}
#payWrap > .shippingAddress .shippingCard .card-header .form-inline-control:focus {
  border-bottom-color: #ff8c31 !important;
}
#payWrap > .shippingAddress .shippingCard .card-body .form-control:focus {
  border-color: #ff8c31;
}
#payWrap > .shippingAddress .shippingCard .card-body .citys {
  display: flex;
  flex-direction: column;
}
#payWrap > .shippingAddress .shippingCard .card-body .citys .cityRow {
  display: flex;
}
#payWrap > .shippingAddress .shippingCard .card-body .citys .cityRow .custom-select {
  flex: 1 1 50%;
  font-size: 14px;
  margin: 4px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border-color: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.15);
  transition: border 0.3s;
}
#payWrap > .shippingAddress .shippingCard .card-body .citys .cityRow .custom-select:focus {
  border-bottom-color: #ff8c31;
}
#payWrap > .shippingAddress .shippingCard .card-body .citys .cityRow .custom-select > option:active {
  color: #ff8c31;
}
#payWrap > .shippingAddress .shippingCard .card-body input {
  font-size: 14px;
  letter-spacing: 1px;
  margin: 4px;
  appearance: none !important;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border-color: transparent !important;
  border-bottom-color: rgba(0, 0, 0, 0.15) !important;
  transition: border 0.3s !important;
}
#payWrap > .shippingAddress .shippingCard .card-body input:focus {
  border-bottom-color: #ff8c31 !important;
}
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group {
  margin: 0;
}
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group:nth-child(1) {
  padding-right: 0.5rem;
  flex: 1;
}
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group:nth-child(2) {
  padding-left: 0.5rem;
  flex: 1;
}
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group p {
  margin: 0;
}
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group .shippingPhone,
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group .shippingCode {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border-color: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.15);
  transition: border 0.3s;
}
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group .shippingPhone:focus,
#payWrap > .shippingAddress .shippingCard .card-body .shippingInfo > .form-group .shippingCode:focus {
  border-bottom-color: #ff8c31;
}
#payWrap > .shippingAddress .shippingCard .card-footer {
  border-radius: 0 0 0.5rem 0.5rem;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem 1.25rem 1.25rem;
}
#payWrap > .shippingAddress .shippingCard .card-footer a {
  flex: 1;
}
#payWrap > .shippingAddress .shippingCard:hover {
  box-shadow: 0 10px 20px rgba(224, 109, 16, 0.19), 0 6px 6px rgba(224, 109, 16, 0.23);
}
#payWrap > .shippingAddress .shippingCard.active .card-header {
  transition: background 0.5s;
  background: linear-gradient(to right, rgba(255, 140, 49, 0.7), #ff8c31);
}
#payWrap > .shippingAddress .shippingCard.active .card-header p {
  color: white;
}
#payWrap > .shippingAddress .shippingCard.active .card-header a {
  color: white !important;
}
#payWrap > .shippingAddress .shippingCard.active .card-header .form-inline-control {
  color: white;
  border-bottom-color: white;
}
#payWrap .bottom {
  width: 100%;
  position: relative;
}
#payWrap .bottom > .payQrcode {
  width: 100%;
  position: absolute;
  bottom: 3rem;
  background-color: white;
  z-index: -1;
  border-radius: 0.5rem;
  opacity: 0;
  bottom: -100%;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
#payWrap .bottom > .payQrcode > .card-header {
  border-radius: 0.5rem 0.5rem 0 0;
}
#payWrap .bottom > a {
  width: 100%;
  margin-top: 1rem;
}
#payWrap .checkedList {
  max-height: 40%;
  margin-top: 1rem;
  overflow-y: scroll;
}
#payWrap .checkedList::-webkit-scrollbar {
  display: none;
}
#payWrap .checkedList .checkCard {
  border-radius: 0.5rem;
}
#payWrap .checkedList .checkCard .card-header {
  border-radius: 0.5rem 0.5rem 0 0;
}
#payWrap .checkedList .checkCard ul {
  padding: 0;
  margin: 0;
}
#payWrap .checkedList .checkCard ul li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 64px;
  margin-bottom: 1rem;
}
#payWrap .checkedList .checkCard ul li:last-child {
  margin-bottom: 0;
}
#payWrap .checkedList .checkCard ul li img {
  height: 100%;
  width: auto;
}
.addCard {
  background-color: white;
}
.addCard .card-body {
  background-color: rgba(0, 0, 0, 0.03);
}
.addCard .card-body > .plus {
  margin: 1rem;
  padding: 1rem;
  border: 4px dashed #555555;
  border-radius: 0.5rem;
}
@media (min-width: 992px) {
  #payWrap {
    max-height: 100vh;
    min-height: 100vh;
    height: 100vh;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  #payWrap .shippingCard {
    width: 500px;
  }
}
@media (max-width: 992px) {
  #payWrap {
    bottom: 100%;
    left: 0;
    top: 100%;
    min-height: calc( 100vh - 10rem );
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    border-radius: 1rem 1rem 0 0;
  }
  #payWrap > .shippingAddress > .closeBtn {
    top: -2.5rem;
    left: calc(50% - 2rem);
    width: fit-content;
    border-radius: 0.5rem 0.5rem 0 0;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  }
}
